package com.xwamp.model.base;

import java.util.Date;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

@SuppressWarnings({"serial", "unchecked"})
public class BaseAdminModel<M extends BaseAdminModel<M>> extends Model<M> implements IBean {
	public M setUserId(Integer value) {
		set("user_id", value);
		return (M)this;
	}

	public Integer getUserId() {
		return get("user_id");
	}
	public M setMemberUid(Integer value) {
		set("member_uid", value);
		return (M)this;
	}

	public Integer getMemberUid() {
		return get("member_uid");
	}
	public M setUserName(String value) {
		set("user_name", value);
		return (M)this;
	}

	public String getUserName() {
		return get("user_name");
	}
	public M setPassword(String value) {
		set("password", value);
		return (M)this;
	}

	public String getPassword() {
		return get("password");
	}
	public M setOperatePassword(String value) {
		set("operate_password", value);
		return (M)this;
	}

	public String getOperatePassword() {
		return get("operate_password");
	}
	public M setRoleId(Integer value) {
		set("role_id", value);
		return (M)this;
	}

	public Integer getRoleId() {
		return get("role_id");
	}
	public M setRoleTitle(String value) {
		set("role_title", value);
		return (M)this;
	}

	public String getRoleTitle() {
		return get("role_title");
	}
	public M setDepartmentId(String value) {
		set("department_id", value);
		return (M)this;
	}

	public String getDepartmentId() {
		return get("department_id");
	}
	public M setDepartmentTitle(String value) {
		set("department_title", value);
		return (M)this;
	}

	public String getDepartmentTitle() {
		return get("department_title");
	}
	public M setStatus(Short value) {
		set("status", value);
		return (M)this;
	}

	public Short getStatus() {
		return get("status");
	}
	public M setUnreadmsg(Short value) {
		set("unreadmsg", value);
		return (M)this;
	}

	public Short getUnreadmsg() {
		return get("unreadmsg");
	}
	public M setRealname(String value) {
		set("realname", value);
		return (M)this;
	}

	public String getRealname() {
		return get("realname");
	}
	public M setSex(String value) {
		set("sex", value);
		return (M)this;
	}

	public String getSex() {
		return get("sex");
	}
	public M setFaceUrl(String value) {
		set("face_url", value);
		return (M)this;
	}

	public String getFaceUrl() {
		return get("face_url");
	}
	public M setMobile(String value) {
		set("mobile", value);
		return (M)this;
	}

	public String getMobile() {
		return get("mobile");
	}
	public M setEmail(String value) {
		set("email", value);
		return (M)this;
	}

	public String getEmail() {
		return get("email");
	}
	public M setRegistIp(String value) {
		set("regist_ip", value);
		return (M)this;
	}

	public String getRegistIp() {
		return get("regist_ip");
	}
	public M setPwAnswer(String value) {
		set("pw_answer", value);
		return (M)this;
	}

	public String getPwAnswer() {
		return get("pw_answer");
	}
	public M setPwQuestion(String value) {
		set("pw_question", value);
		return (M)this;
	}

	public String getPwQuestion() {
		return get("pw_question");
	}
	public M setLoginIp(String value) {
		set("login_ip", value);
		return (M)this;
	}

	public String getLoginIp() {
		return get("login_ip");
	}
	public M setLoginCount(Integer value) {
		set("login_count", value);
		return (M)this;
	}

	public Integer getLoginCount() {
		return get("login_count");
	}
	public M setLoginTime(String value) {
		set("login_time", value);
		return (M)this;
	}

	public String getLoginTime() {
		return get("login_time");
	}
	public M setCreateTime(String value) {
		set("create_time", value);
		return (M)this;
	}

	public Date getCreateTime() {
		return get("create_time");
	}
	
	public M setUpdateTime(String value) {
		set("update_time", value);
		return (M)this;
	}

	public String getUpdateTime() {
		return get("update_time");
	}

}
